ExamPlay Light Logo
Hyni

Computer Science for IGCSE & O level - Programming (Section 16 - No. 17)

What happens if the 'age' is 17 in the given code? ``` IF age >= 17 THEN Print "You are an adult" ELSE Print "You are a child" ENDIF ```
You are a child
You are an adult
No output is produced
An error is produced.

Shpjegimi

Since age (17) is greater than or equal to 17, 'You are an adult' will be printed.

Komentet (0)

Identifikohu për të komentuar
Reklamim
BrainBehindX Inc Logo
©2026; Mundësuar nga BrainBehindX Inc